package com.yida.gwj.deposit.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.Arrays;

/**
 * @Description 缴存业务管理-楼栋参数对象
 * @Author wws
 * @Date 2023-02-17
 */
@ApiModel("业主缴存楼栋信息")
public class GwjOwnerDepositChooseBuildRequest {

    @ApiModelProperty("业务主键")
    @NotNull(message = "业务主键不能为空")
    private Long bizId;

    @ApiModelProperty("楼栋编号")
    @NotNull(message = "业务楼栋编号不能为空")
    private String[] buildCodes;

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public String[] getBuildCodes() {
        return buildCodes;
    }

    public void setBuildCodes(String[] buildCodes) {
        this.buildCodes = buildCodes;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjOwnerDepositChooseBuildRequest{");
        sb.append("bizId=").append(bizId);
        sb.append(", buildCodes=").append(buildCodes == null ? "null" : Arrays.asList(buildCodes).toString());
        sb.append('}');
        return sb.toString();
    }
}
